package com.mm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.mm.BaseSupper.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 角色、菜单 关联表
 * </p>
 *
 * @author wdx
 * @since 2020-09-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("mm_role_menu")
@ApiModel(value="MmRoleMenu对象", description="角色、菜单 关联表")
public class MmRoleMenu extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色ID")
    @TableField("role_id")
    private Integer roleId;

    @ApiModelProperty(value = "菜单ID")
    @TableField("menu_id")
    private Integer menuId;


    public static final String ROLE_ID = "role_id";

    public static final String MENU_ID = "menu_id";

}
